﻿/* 2012/9/21 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cosmos.Drawing
{
    /// <summary>
    /// Represents information of image drawing.
    /// </summary>
    public struct DrawingInfo
    {
        public int MaxStartX
        {
            get;
            set;
        }

        public int MinStartX
        {
            get;
            set;
        }

        public int CenterStartX
        {
            get 
            {
                return (MaxStartX + MinStartX) / 2;
            }
        }

        public int MaxStartY
        {
            get;
            set;
        }

        public int MinStartY
        {
            get;
            set;
        }

        public int CenterStartY
        {
            get
            {
                return (MaxStartY + MinStartY) / 2;
            }
        }

        public int DisplayWidth
        {
            get;
            set;
        }

        public int DisplayHeight
        {
            get;
            set;
        }

        public double DisplayScale
        {
            get;
            set;
        }
    }
}
